package com.eight.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * @author 郭坤
 * @since 2023-02-24
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="tbBrand", description="车辆信息实体类")
@TableName(value = "tb_brand")
public class TbBrand implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    @TableField(value = "id")
    private Long id;

    @ApiModelProperty(value = "名字")
    @TableField(value = "name")
    private String name;

    @ApiModelProperty(value = "首字母")
    @TableField(value = "first_letter")
    private String firstLetter;

    @ApiModelProperty(value = "种类")
    @TableField(value = "sort")
    private Integer sort;

    @ApiModelProperty(value = "是否为品牌制造商：0->不是；1->是")
    @TableField(value = "factory_status")
    private Integer factoryStatus;

    @ApiModelProperty(value = "显示状态")
    @TableField(value = "show_status")
    private Integer showStatus;

    @ApiModelProperty(value = "品牌logo")
    @TableField(value = "logo")
    private String logo;

    @ApiModelProperty(value = "专区大图")
    @TableField(value = "big_pic")
    private String bigPic;

    @ApiModelProperty(value = "品牌故事")
    @TableField(value = "brand_story")
    private String brandStory;


}
